package crazy.memory;

public class StrongReferenceTest
{
	public static void main(String[] args) throws Exception
	{
		Person1[] people = new Person1[100000];
		for (int i = 0; i < people.length; i++)
		{
			people[i] = new Person1(i+"", (i+1)*4%100);
		}
		System.out.println(people[2]);
		System.out.println(people[4]);
		System.gc();
		System.runFinalization();
		System.out.println(people[2]);
		System.out.println(people[4]);
	}
}
